package com.yy.satokenapplication.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yy.satokenapplication.entity.SysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author young
 * @description 针对表【sys_permission(系统权限表)】的数据库操作Mapper
 * @createDate 2025-03-16 16:30:47
 * @Entity com/yy/satokenapplication.entity.SysPermission
 */
@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    List<SysPermission> findPermissionsByUserId(@Param("userId")Long id);
}




